<?php
	if ( isset($_GET) && !empty($_GET) )
	{
		$page = $_GET["page"];
		
		switch ($page) {
		case "studio":
			require_once('studio.php');
			break;
		case "actu-jeu":
			require_once('actu-jeu.php');
			break;
		case "faq":
			require_once('faq.php');
			break;
		case "jeu":
			require_once('jeu.php');
			break;
		case "debut":
			require_once('debut.php');
			break;
		case "carte":
			require_once('carte-monde.php');
			break;
		case "ressources":
			require_once('ressources.php');
			break;
		case "batiments":
			require_once('batiments.php');
			break;
		case "commerce":
			require_once('commerce.php');
			break;
		case "oasis":
			require_once('oasis.php');
			break;
		case "culture":
			require_once('culture.php');
			break;
		case "dieux":
			require_once('dieux.php');
			break;
		case "rapport":
			require_once('rapports.php');
			break;
		case "unites":
			require_once('unites.php');
			break;
		case "combats":
			require_once('combats.php');
			break;
		case "exp":
			require_once('experience.php');
			break;
		case "tromphees":
			require_once('tromphees.php');
			break;
		case "classement":
			require_once('classement.php');
			break;
		case "alliance":
			require_once('alliance.php');
			break;
		case "merveille":
			require_once('constructions-pharaoniques.php');
			break;
		case "premium":
			require_once('premium.php');
			break;
		case "manuels":
			require_once('manuels.php');
			break;
		default:
			require_once('home.php');
			break;
		}
	} else {	
		require_once('home.php');
	}

?>